package com.cloudlead.plugin.scheduler.repository.impl;

import com.cloudlead.plugin.scheduler.BusinessModules;
import com.cloudlead.common.persistence.impl.AbstractCrudRepository;

import com.cloudlead.plugin.scheduler.entity.EScheduleJob;

import com.cloudlead.plugin.scheduler.repository.EScheduleJobRepository;

import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import com.cloudlead.common.lang.annotation.Label;
import org.springframework.stereotype.Repository;

/**
 * EScheduleJobRepositoryImpl is a Querydsl repository implement type
 */
@Label("计划任务存储实现")
@Repository("eScheduleJobRepository")
public class EScheduleJobRepositoryImpl extends AbstractCrudRepository<EScheduleJob, String> implements EScheduleJobRepository {

    @Autowired
    public EScheduleJobRepositoryImpl(
    		@Qualifier("hasTranDataSource") DataSource dataSource) {
    	super(BusinessModules.ScheduleJob, dataSource);
    }
    
}

